package com.vivo.tasks;

import com.vivo.employee.entity.ViEmployee;
import com.vivo.employee.service.ViEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class TaskAutocodeOutEmp {

    @Autowired
    private ViEmployeeService viEmployeeService;



    public void SyncData() {

        // 获取所有员工信息为以下条件： 1. 离职 2.编号不以lz开头

        List<ViEmployee> viEmployeeList = viEmployeeService.findNeedRecodeOutEmpList();
    }

}
